amd iommu: reduce io page level for hvm guest (1/3)
authorWei Wang <wei.wang2@amd.com>
Thu, 27 Jan 2011 16:10:52 +0000 (16:10 +0000)
committerWei Wang <wei.wang2@amd.com>
Thu, 27 Jan 2011 16:10:52 +0000 (16:10 +0000)
commit24c3ed18af8a89d0066f5668ad91a0c38c98f7a2
tree019aa625921eaabb519019de23f64391364cd24a
parent3bbbb0c96c03814cb208f6bf9167c95a94f0bbcb
amd iommu: reduce io page level for hvm guest (1/3)

Since in most case, 2 or 3 - level IO page tables are sufficient, this
patch updates page table level for device assignment to reduces
overhead of dma translation

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c